import request from '@/utils//request'

export function sysProfile() {
  return request({
    url: '/sys/profile',
    method: 'POST'
  })
}
// 获取员工基本信息
export function sysUser(id) {
  return request({
    url: `/sys/user/${id}`
  })
}

// 给员工分配角色
export function sysuserassignRoles(data) {
  return request({
    url: '/sys/user/assignRoles',
    method: 'put',
    data
  })
}
